import { createPinia } from 'pinia'
// 持久化插件
import persist from 'pinia-plugin-persistedstate'
// 创建 pinia 实例
const pinia = createPinia()
// 持久化
pinia.use(persist)

export default pinia

// 模块统一导出
export * from './modules/member'
export * from './modules/address'
export * from './modules/category'
